package com.zxj.geekstudy.spring.aop1;

import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

@Data
@ToString
@Component
public class Peach {

    private Integer id = 3;

    private String name = "桃子";

    public void testAop() {
        System.out.println(this.getClass() + "测试aop执行");
    }
}
